package com.ambulance.project.biz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 调度会诊记录表
 * </p>
 *
 * @author zr
 * @since 2020-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_dispatchTreat")
@ApiModel(value="DispatchTreat对象", description="调度会诊记录表")
public class DispatchTreat extends Model<DispatchTreat> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "调度急救标识")
    @TableId(value = "treat_recordID", type = IdType.AUTO)
    private Integer treatRecordid;

    @ApiModelProperty(value = "调度标识")
    @TableField("dispatchID")
    private Integer dispatchID;

    @ApiModelProperty(value = "会诊现场视频")
    @TableField("treat_scene")
    private String treatScene;

    @ApiModelProperty(value = "会诊医生视频")
    @TableField("Treat_doctor_a")
    private String treatDoctorA;

    @ApiModelProperty(value = "会诊医生视频")
    @TableField("Treat_doctor_b")
    private String treatDoctorB;

    @ApiModelProperty(value = "会诊医生视频")
    @TableField("Treat_doctor_c")
    private String treatDoctorC;

    @ApiModelProperty(value = "会诊备注")
    @TableField("Treat_remark")
    private String treatRemark;


    @Override
    protected Serializable pkVal() {
        return this.treatRecordid;
    }

}
